class_name Vector2iUtils
extends Node

static func project(v:Vector2i,axis:int) ->Vector2i:
	match  axis:
		Vector2i.AXIS_X:
			return Vector2i(v.x,0)
		Vector2i.AXIS_Y:
			return Vector2i(0,v.y)
		_:
			push_error("Invalid axis valuue:%d"%axis)
			return v
